package org.alvin.gencode.showdoc;

import lombok.extern.slf4j.Slf4j;
import org.alvin.gencode.beans.PropConfig;
import org.alvin.gencode.utils.ConfigUtil;
import org.alvin.mini_inject.annotations.MiniComponent;
import org.alvin.mini_inject.annotations.MiniInject;
import org.alvin.mini_inject.annotations.MiniRun;

import java.io.IOException;

@Slf4j
@MiniComponent
public class GenShowdocApiPluginConfig {

    @MiniInject
    private ShowDocApiService showDocApiService;

    @MiniRun
    public void start() throws IOException {
        log.info("启动配置加载");
        PropConfig propConfig = ConfigUtil.initConfig();
//        this.showDocApiService.genCode(propConfig.getShowDocApiUrl(),propConfig.getItemId());
    }
}
